Toward Optimization of Concurrent Ml

نویسندگان

  • YINGQI XIAO
  • JOHN REPPY
چکیده

Concurrent ML (CML) is a statically-typed higher-order concurrent language that is embedded in Standard ML. Its most notable feature are first-class synchronous operations, which allow programmers to encapsulate complicated communication and synchronization protocols as first-class abstractions. This feature encourages a modular style of programming, where the actual underlying channels used to communicate with a given thread are hidden behind data and type abstraction. While CML has been in active use for well over a decade, little attention has been paid to optimizing CML programs. In this paper, we present a new program analysis for statically-typed higher-order concurrent languages that is a significant step toward optimization of CML. Our technique is modular (i.e., it analyses and optimizes a single unit of abstraction at a time), which plays to the modular style of many CML programs. The analysis consists of two major components: the first is a type-sensitive control-flow analysis that uses the program’s type-abstractions to compute more precise results. We then construct a control-flow graph from the results of the CFA and analyze the flow of known channel values using the graph. Our analysis is designed to detect special patterns of use, such as one-shot channels, fan-in channels, and fan-out channels. These special patterns can be exploited by using more efficient implementations of channel primitives. We show that our analysis is correct.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Intelligent Knowledge Based System Approach for Optimization of Design and Manufacturing for Abrasive Water Jet Machining

A water jet machining is an industrial tool capable of cutting a wide variety of materials using a very high-pressure jet of water, or a mixture of water and an abrasive substance. This paper addresses the concept of the Intelligent knowledge base system (IKBS) for optimization of product design and manufacturing process for water jet machining in computer based concurrent engineering environme...

متن کامل

Intelligent Knowledge Based System Approach for Optimization of Design and Manufacturing for Abrasive Water Jet Machining

A water jet machining is an industrial tool capable of cutting a wide variety of materials using a very high-pressure jet of water, or a mixture of water and an abrasive substance. This paper addresses the concept of the Intelligent knowledge base system (IKBS) for optimization of product design and manufacturing process for water jet machining in computer based concurrent engineering environme...

متن کامل

Concurrent Optimization of Patients’ Trust and Integrated Resilience Engineering: A Z-Number Data Envelopment Analysis Approach

Background and Objectives: Emergency departments often encounter several risk and health issues which significantly impact on overall healthcare performance. Resilience engineering (RE) enables emergency departments to confront sudden changes and handling health risk issues. Patient trust (PT) is also one of the most effective factors which improve quality of care along with pa...

متن کامل

Effect of Pioglitazone on Plasma Levels of Phenytoin in Rats

Introduction: Interaction between drugs represents a major clinical concern for health care professionals and their patients. Patients affected by both type 2 diabetes and epilepsy may be prescribed pioglitazone and an anti-epileptic drug such as phenytoin  concurrently. The aim of this study was to consider the interaction of pioglitazone with phenytoin in an experimental model. According to t...

متن کامل

TERSE: TErm Rewriting Support Environment

We propose an environment for term rewriting computation with Graphical User Interface. The aim of the environment is to support analysis of term rewriting computation. The environment allows us to manage multiple terms and rules simultaneously. It also helps us to analyze the structure of a term by providing us with graphi-cal tree representation of the term, through which we can easily edit t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005